package by.dkusch.aircompany.model.filter;

import javax.validation.constraints.Min;

import by.dkusch.aircompany.model.filter.base.FilterEntity;
import by.dkusch.aircompany.model.tables.PlaneType;

public class FilterPlaneType extends FilterEntity<Long, PlaneType> {

	private static final long serialVersionUID = 1L;
	private String code;
	private String name;
	private Double lengthMin;
	private Double lengthMax;
	private Double weightMin;
	private Double weightMax;
	@Min(0)
	private Integer passClass1Min;
	private Integer passClass1Max;
	private Integer passClass2Min;
	private Integer passClass2Max;
	private Integer passClass3Min;
	private Integer passClass3Max;
	private Integer crewCountMin;
	private Integer crewCountMax;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Double getLengthMin() {
		return lengthMin;
	}

	public void setLengthMin(Double lengthMin) {
		this.lengthMin = lengthMin;
	}

	public Double getLengthMax() {
		return lengthMax;
	}

	public void setLengthMax(Double lengthMax) {
		this.lengthMax = lengthMax;
	}

	public Double getWeightMin() {
		return weightMin;
	}

	public void setWeightMin(Double weightMin) {
		this.weightMin = weightMin;
	}

	public Double getWeightMax() {
		return weightMax;
	}

	public void setWeightMax(Double weightMax) {
		this.weightMax = weightMax;
	}
	public Integer getPassClass1Min() {
		return passClass1Min;
	}
	public void setPassClass1Min(Integer passClass1Min) {
		this.passClass1Min = passClass1Min;
	}
	public Integer getPassClass1Max() {
		return passClass1Max;
	}
	public void setPassClass1Max(Integer passClass1Max) {
		this.passClass1Max = passClass1Max;
	}
	public Integer getPassClass2Min() {
		return passClass2Min;
	}
	public void setPassClass2Min(Integer passClass2Min) {
		this.passClass2Min = passClass2Min;
	}
	public Integer getPassClass2Max() {
		return passClass2Max;
	}
	public void setPassClass2Max(Integer passClass2Max) {
		this.passClass2Max = passClass2Max;
	}
	public Integer getPassClass3Min() {
		return passClass3Min;
	}
	public void setPassClass3Min(Integer passClass3Min) {
		this.passClass3Min = passClass3Min;
	}
	public Integer getPassClass3Max() {
		return passClass3Max;
	}
	public void setPassClass3Max(Integer passClass3Max) {
		this.passClass3Max = passClass3Max;
	}
	public Integer getCrewCountMin() {
		return crewCountMin;
	}
	public void setCrewCountMin(Integer crewCountMin) {
		this.crewCountMin = crewCountMin;
	}
	public Integer getCrewCountMax() {
		return crewCountMax;
	}
	public void setCrewCountMax(Integer crewCountMax) {
		this.crewCountMax = crewCountMax;
	}

}
